﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Power.Models
{
    /// <summary>
    /// 分类工作量表
    /// </summary>
    public class ClassifyTableData
    {
        /// <summary>
        /// 管段类型
        /// </summary>
        public List<ClassifyTableBaseValue> PipeType { get; set; }
        /// <summary>
        /// 管段材质
        /// </summary>
        public List<ClassifyTableBaseValue> PipeMate { get; set; }
        /// <summary>
        /// 管段直径
        /// </summary>
        public List<ClassifyTableBaseValue> PipeDia { get; set; }
        /// <summary>
        /// 检测方法
        /// </summary>
        public List<ClassifyTableBaseValue> DetecMethod { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    public class ClassifyTableBaseValue
    {
        /// <summary>
        /// 名称，例如WS、PE、DN500
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 管段数量
        /// </summary>
        public int PipNum { get; set; }
        /// <summary>
        /// 检测长度
        /// </summary>
        public float Len { get; set; }
    }
}
